package work20241203_chap6oop.b_extends;

/**
 * @author zdl
 * @date 2024/12/3
 */
public class Son extends Father{
    @Override
    public void eat() {
        System.out.println("儿子爱吃吃米饭");
    }

    public Son() {
        super.eat();
        System.out.println("Son类无参构造方法");
    }
}
